package com.liuc.practice.ipersistent.sqlSession;

import com.liuc.practice.ipersistent.pojo.Configuration;
import com.liuc.practice.ipersistent.pojo.SqlMappedStatement;

import java.beans.IntrospectionException;
import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

/**
 * 定义对 JDBC 封装方法
 *
 * @Author Liu Chang
 * @Date 2020/12/13 11:18 上午
 */
public interface Executor {

    public <E> List<E> query(SqlMappedStatement statement, Object... params) throws Exception;

}
